package com.shenfa.bean.bill.rule;

/**
 * 账单规则表主表映射类
 * 
 * @author 龙辰三
 * @date 2011-8-24
 * 
 */
public class RuleMaster {

	private String rule_no;// 规则编号 , PK
	private String rule_name;// 规则名称
	private String rule_type;// 规则类别 , (0默认 ,1正常)
	private String stencil_no;// 模版编号
	private String stencil_name;// 模版名称
	private String stencil_ver;// 模板版本号
	private String stenciltype_no;// 模版类型编号, (1纸质, 2电子 , 3短信)
	private String card_id;// 卡产品号
	private String period_begen;// 账期开始月
	private String period_end;// 账期截止月
	private String rule_state;// 规则状态 , (2审核,1启用,0停用)
	private String rule_pri;// 优先级 , 1最小
	private String person_no;// 人员编号
//	private String person_name;// 人员名称
	private String create_time;// 创建时间
	private String remark;// 备注
	private String areaNo;//区域ID
	private String areaName;//区域名称
	private String fodderType;//区域素材类型
	
	

	@Override
	public String toString() {
		return rule_no+"=="+rule_name+"=="+rule_state+"=="+areaNo;
	}

	public RuleMaster() {
	}

	public String getRule_no() {
		return rule_no;
	}

	public void setRule_no(String ruleNo) {
		rule_no = ruleNo;
	}

	public String getRule_name() {
		return rule_name;
	}

	public void setRule_name(String ruleName) {
		rule_name = ruleName;
	}

	public String getRule_type() {
		return rule_type;
	}

	public void setRule_type(String ruleType) {
		rule_type = ruleType;
	}

	public String getStencil_no() {
		return stencil_no;
	}

	public void setStencil_no(String stencilNo) {
		stencil_no = stencilNo;
	}

	public String getStencil_name() {
		return stencil_name;
	}

	public void setStencil_name(String stencilName) {
		stencil_name = stencilName;
	}

	public String getStencil_ver() {
		return stencil_ver;
	}

	public void setStencil_ver(String stencilVer) {
		stencil_ver = stencilVer;
	}

	public String getStenciltype_no() {
		return stenciltype_no;
	}

	public void setStenciltype_no(String stenciltypeNo) {
		stenciltype_no = stenciltypeNo;
	}

	public String getCard_id() {
		return card_id;
	}

	public void setCard_id(String cardId) {
		card_id = cardId;
	}

	public String getPeriod_begen() {
		return period_begen;
	}

	public void setPeriod_begen(String periodBegen) {
		period_begen = periodBegen.substring(0, 7);
	}

	public String getPeriod_end() {
		return period_end;
	}

	public void setPeriod_end(String periodEnd) {
		period_end = periodEnd.substring(0, 7);
	}

	public String getRule_state() {
		return rule_state;
	}

	public void setRule_state(String ruleState) {
		rule_state = ruleState;
	}

	public String getRule_pri() {
		return rule_pri;
	}

	public void setRule_pri(String rulePri) {
		rule_pri = rulePri;
	}

	public String getPerson_no() {
		return person_no;
	}

	public void setPerson_no(String personNo) {
		person_no = personNo;
	}

	public String getCreate_time() {
		return create_time;
	}

	public void setCreate_time(String createTime) {
		create_time = createTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getAreaNo() {
		return areaNo;
	}

	public void setAreaNo(String areaNo) {
		this.areaNo = areaNo;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}
	
	public String getFodderType() {
		return fodderType;
	}

	public void setFodderType(String fodderType) {
		this.fodderType = fodderType;
	}

}
